import "@/global.less";
import "@/global.css";
import "@ant-design/v5-patch-for-react-19";
import ReactDOM from "react-dom/client";
import App from "@/app";

ReactDOM.createRoot(document.getElementById("root")!).render(<App />);

if (import.meta.env.VITE_VCONSOLE === "true") {
  import("vconsole").then((vconsole) => {
    new vconsole.default();
  });
}

console.log("Version: ", import.meta.env.VITE_VERSION);
console.log(`Build time: ${__BUILD_INFO__.time}`);
console.log(`Current branch: ${__BUILD_INFO__.branch}`);
